using System;
using System.Collections.Generic;
using System.Text;

namespace Systepic.Projects
{
	/// <summary>
	/// Object housing the base information
	/// for a project.
	/// </summary>
	public class Project
	{
		private string name;
		private string description;
		private DateTime creationDate;
		private DateTime startDate;
		private DateTime dueDate;
		private int projectId;

		/// <summary>
		/// Create a new blank project
		/// </summary>
		public Project()
		{
		}

		/// <summary>
		/// The unique identifier for
		/// the project as stored in the database.
		/// </summary>
		public int ProjectId
		{
			get { return projectId; }
			set { projectId = value; }
		}

		/// <summary>
		/// The friendly name of the
		/// project.
		/// </summary>
		public string Name
		{
			get { return name; }
			set { name = value; }
		}

		/// <summary>
		/// Get or set when the project is
		/// to be completed.
		/// </summary>
		public DateTime CompletionDate
		{
			get { return dueDate; }
			set { dueDate = value; }
		}

		/// <summary>
		/// Get or set when the project is
		/// supposed to start.
		/// </summary>
		public DateTime StartDate
		{
			get { return startDate; }
			set { startDate = value; }
		}

		/// <summary>
		/// Get or set when the project is 
		/// created.
		/// </summary>
		public DateTime CreationDate
		{
			get { return creationDate; }
			set { creationDate = value; }
		}

		/// <summary>
		/// Get or set general information
		/// about the project.
		/// </summary>
		public string Description
		{
			get { return description; }
			set { description = value; }
		}
	}
}
